<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>添加老师信息</title>
<link href="css/baitiao.css" rel="stylesheet" type="text/css" />
</head>
<body align="center"
	style="background-image: url(images/jsxxbj.jpg); background-size: 100%;">
	<%
		Object message = request.getAttribute("message");
	if (message != null && !"".equals(message)) {
	%>
	<script type="text/javascript">
              alert("<%=request.getAttribute("message")%>
		");
		var asd = request.getAttribute("name");
	</script>
	<%
		}
	%>
	<div style="margin-top: 50px">
		<img src="images/logo11.png">
	</div>
	<div align="center"
		style="margin: auto; width: 300px; height: 350px; border: 5px solid black; border-radius: 35px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);">

		<h1>添加教师信息</h1>
		<form action="Servlet?method=teadd" method="post">
			<table style="font-size: 20px;">

				<tr>
					<th>工号：</th>
					<td><input name="gonghao" type="text" /></td>
				</tr>
				<tr>
					<th>姓名：</th>
					<td><input name="xingming" type="text" /></td>
				</tr>
				<tr>
					<th>性别：</th>
					<td><input name="xingbei" type="radio" value="男" />男 <input
						name="xingbei" type="radio" value="女" />女</td>
				</tr>
				<tr>
					<th>学校：</th>
					<td><input name="xuexiao" type="text"></td>
				</tr>
				<tr>
					<th>职称：</th>
					<td><input name="zhicheng" type="text"></td>
				</tr>
				<tr>
					<th>密码：</th>
					<td><input name="password" type="text"></td>

				</tr>


			</table>
			<div style="width: 300px; height: 100px; margin-top: 30px">
				<input type="submit" value="提交"
					style="width: 60px; float: left; margin-left: 70px;" /> <input
					type="button" value="返回"
					style="width: 60px; float: right; margin-right: 70px"
					onclick="location.href='root.jsp'" />
			</div>
	</div>



	</form>
	</div>
	<div
		style="width: 100%; height: 50px; position: absolute; bottom: 15%;">
		<h1 style="color: black">当前用户：${prename }</h1>
	</div>
	<div class="loginbm">
		<p
			style="width: 100%; height: 30px; font-size: 25px; color: black; margin-top: 120px; position: absolute; bottom: 0; text-align: center; background: url(../images/loginbg2.png) repeat-x;">版权所有第六组，仅供实训使用，如用于任何商业用途，记得打钱</p>
	</div>
</body>
</html>